//package org.example.test.controller;
//
///**
// * @author zhaolin
// * @version 1.0
// * @description: TODO
// * @date 2025/2/10 14:56
// */
//
//import jakarta.annotation.Resource;
//
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
//@RestController
//public class OllamaController {
//    @Resource
//    private OllamaChatModel ollamaChatModel;
//
//    @RequestMapping(value = "/ai/ollama")
//    public Object ollama(@RequestParam(value = "msg")String msg){
//        String called=ollamaChatModel.call(msg);
//        System.out.println(called);
//        return called;
//    }
//
//}
//
